.modal .StatusModal.GenericModal .StatusModal__clear-container.input-clear {
    position: absolute;
    top: 16px;
    right: 18px;
    color: rgba(var(--center-channel-color-rgb), 0.64);
    opacity: 1;
}

.StatusModal {
    width: 600px;

    &.modal-dialog {
        margin: auto;
    }

    .modal &.GenericModal {
        .modal {
            &-body {
                overflow: visible;
            }
        }

        .emoji-quick-input {
            &.form-control {
                height: 4.8rem;
                padding: 0 4.8rem;
                border-radius: 4px;
                font-size: 14px;
                font-weight: 600;

                &:focus {
                    border-color: var(--button-bg);
                }
            }
        }
    }

    .GenericModal {
        &__body {
            padding: 0;
        }

        &__button {
            &.btn:disabled,
            &.btn:disabled:hover {
                background: rgba(var(--center-channel-color-rgb), 0.08);
                color: rgba(var(--center-channel-color-rgb), 0.32);
                opacity: 1;
            }
        }
    }

    &__emoji-container {
        position: absolute;
        z-index: 5;
        top: 14px;
        left: 40px;
        margin-right: 2px;
    }

    &__emoji-button {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 4px;
        background: transparent;
        color: rgba(var(--center-channel-color-rgb), 0.64);
        fill: rgba(var(--center-channel-color-rgb), 0.64);

        &:hover {
            background: rgba(var(--center-channel-color-rgb), 0.08);
            color: rgba(var(--center-channel-color-rgb), 0.8);
            fill: rgba(var(--center-channel-color-rgb), 0.8);
        }

        &:active,
        &--active,
        &--active:hover {
            background: rgba(var(--button-bg-rgb), 0.08);
            color: var(--button-bg);
            fill: var(--button-bg);
        }

        svg {
            width: 20px;
            height: 20px;
        }
    }

    &__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 0;
        text-align: right;

        .btn {
            height: 4rem;
            padding: 0 2rem;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
        }
    }
}

.status-dropdown-menu,
.StatusModal__input {
    .input-clear-x {
        color: rgba(var(--center-channel-color-rgb), 0.64);

        .icon {
            font-size: 20px;
        }
    }

    .MaxLengthInput__validation {
        top: 17px !important;
        right: 44px !important;
    }

    .MaxLengthInput.form-control.has-error {
        padding-right: 76px !important;
    }
}

.ic-clear-search,
.ic-search {
    position: absolute;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.ic-clear-search {
    top: 12px;
    right: 12px;
    width: 2rem;
    height: 2rem;
}

.statusSuggestion {
    overflow: auto;
    min-height: 232px;
    max-height: 264px;

    &__content {
        display: flex;
        overflow: auto;
        width: 100%;
        height: 100%;
        flex-direction: column;
        border: none;
        box-shadow: none;
    }

    &__row {
        display: flex;
        width: 100%;
        min-height: 40px;
        align-items: center;
        padding-right: 10px;
        padding-left: 18px;
        border: none;
        background: transparent;
        color: var(--center-channel-color);
        font-size: inherit;

        &:hover {
            border-radius: 4px;
            background-color: rgba(var(--center-channel-color-rgb), 0.08);
        }

        &:active {
            background-color: rgba(var(--button-bg-rgb), 0.08);
            color: v(button-bg);
        }
    }

    &__icon {
        margin-right: 15px;
        margin-bottom: 1px;
    }

    &__title {
        display: flex;
        height: 24px;
        margin-top: 8px;
        color: rgba(var(--center-channel-color-rgb), 0.55);
        font-size: 12px;
        font-weight: 600;
    }

    &__text {
        overflow: hidden;
        height: 20px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;

        &.with_duration {
            max-width: 62%;
        }
    }

    &__duration {
        margin-left: 8px;
        color: rgba(var(--center-channel-color-rgb), 0.75);
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
    }
}

.suggestion-clear {
    margin-top: 3px;
    margin-left: auto;
}

#custom-status-tooltip {
    p {
        margin: 0;
    }

    .custom-status {
        display: inline-block;

        &-expiry {
            color: rgba(255, 255, 255, 0.72);
            font-size: 11px;
            font-weight: 400;
        }
    }
}

span.emoticon[style]:hover {
    opacity: 1 !important;
}

.statusExpiry {
    display: inline-block;
    margin: 12px 0 24px 0;
    
    font-size: 14px;

    &__menu {
        cursor: pointer;

        .expiry-value {
            margin-right: 4px;
            font-weight: 600;
        }
    }
}
